home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13619 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: ibm32.perftech.com!usenet
  2. From: murf@perftech.com (John Murphy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: reversing a string
  5. Date: 9 Apr 1996 12:14:26 GMT
  6. Organization: Performance Technology Inc
  7. Message-ID: <4kdkb2$d6k@ibm32.perftech.com>
  8. References: <4k6cjl$j8f@central.server.swt.edu> <4kb1s7$6eu@ibm32.perftech.com> <4kbbr5$dee@solutions.solon.com>
  9. NNTP-Posting-Host: k5zba.perftech.com
  10. Mime-Version: 1.0
  11. NNTP-Posting-User: REVCO
  12. X-Newsreader: WinVN 0.93.11
  13.  
  14. In article <4kbbr5$dee@solutions.solon.com>, seebs@solutions.solon.com 
  15. says...
  16. >
  17. >In article <4kb1s7$6eu@ibm32.perftech.com>,
  18. >John Murphy <murf@perftech.com> wrote:
  19. >>Or if you favor compactness over readability, you can use:
  20. >
  21. >>       x ^= y ^= x ^x y;
  22. >
  23. >... except that, even if you correct the typo, this is flat out illegal, 
  24. and
  25. >cannot be made correct without using semicolons, commas, or other sequence
  26. >points.
  27.  
  28. You're absolutely right; my apologies!  It's amazing how many things that 
  29. are "flat out illegal" actually work on many compilers!
  30.  
  31. Murf
  32.  
  33.